<!-- 用户登录 modal-->
<div class="modal fade" id="userlogin" tabindex="-1" role="dialog" aria-labelledby="userlogin" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content col-md-6 col-md-offset-3 text-center">
      <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
      <div class="modal-header bg-primary">
        <h4 class="modal-title">房屋中介</h4>
      </div>
      <div class="modal-body">
        <br/>
        <form method="post" action="index.php?c=user&m=userlogin" onsubmit="return check()" class="form-horizontal">
          <input type="hidden" name="vid" id="videoid" >
          <div class="input-group">
            <span class="input-group-addon glyphicon glyphicon-user"></span>
            <input type="text" name="name" class="form-control" id="uname" placeholder="username" required>
          </div>
          <br/>
          <div class="input-group">
            <span class="input-group-addon glyphicon glyphicon-lock"></span>
            <input type="password" name="password" class="form-control" id="password" placeholder="password" required>
          </div>
          <br/>
          <div class="form-group">
            <div class="col-md-12 text-center">
              <input type="submit" class="btn btn-success" value="登陆">
              <input type="reset" class="btn btn-primary" value="重置">
            </div>
          </div>
          <?php
          if(isset($_GET["msg"])){
            echo'<h1 style="color:red;">'.$_GET["msg"]."</h1>";
          }
          if(isset($_GET["msg9"])){
            echo'<h1 style="color:red;">'.$_GET["msg9"]."</h1>";
          }
          ?>
        </form>
      </div>
    </div>
  </div>
</div>
